package com.nervenets.web.controller.handler.admin.wealth;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;

public class UserWealthChangeParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "目标用户ID")
    private long targetUserId;
    @NeedValidation(type = Type.EMPTY, description = "动值")
    private long offset;
    @NeedValidation(type = Type.NOTEMPTY, description = "变动原因")
    private String reason;

    public long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(long targetUserId) {
        this.targetUserId = targetUserId;
    }

    public long getOffset() {
        return offset;
    }

    public void setOffset(long offset) {
        this.offset = offset;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
